package com.llmm.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "UserAction",description = "用户操作日志")
public class UserAction {
    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("用户账户")
    private String account;

    @ApiModelProperty("登录ip")
    private String ip;

    @ApiModelProperty("请求方法类型")
    private String requestType;

    @ApiModelProperty("请求方法地址url")
    private String serviceURI;

    @ApiModelProperty("请求方法名字")
    private String methodName;

    @ApiModelProperty("执行时间")
    private Date actionTime;
}
